package com.palnar.ilecker.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Arrays;

public class ServiceManagerModel implements Serializable{
	
	private String wsdlString;
	private String method;
	private String soapActionForFunction;
	private boolean isArguments;
	
	private ArrayList<Object> name;
	private ArrayList<Object> value;
	
	
	
	public ServiceManagerModel(String wsdlString,String method,String soapActionForFunction) {

		this.wsdlString=wsdlString;
		this.method=method;
		this.soapActionForFunction=soapActionForFunction;
		this.isArguments=false;
		
	
	
}
	
	
	
	public ServiceManagerModel(String wsdlString,String method,String soapActionForFunction,ArrayList<Object> name,ArrayList<Object> value) {

			this.wsdlString=wsdlString;
			this.method=method;
			this.soapActionForFunction=soapActionForFunction;
			this.isArguments=true;
			this.name=name;
			this.value=value;
		
		
	}
	
	
	
	
	public String getWsdlString() {
		return wsdlString;
	}
	public void setWsdlString(String wsdlString) {
		this.wsdlString = wsdlString;
	}
	public String getMethod() {
		return method;
	}
	public void setMethod(String method) {
		this.method = method;
	}
	public String getSoapActionForFunction() {
		return soapActionForFunction;
	}
	public void setSoapActionForFunction(String soapActionForFunction) {
		this.soapActionForFunction = soapActionForFunction;
	}
	public boolean getIsArguments() {
		return isArguments;
	}
	public void setArguments(boolean isArguments) {
		this.isArguments = isArguments;
	}
	public void setName(ArrayList<Object> name) {
		this.name=new ArrayList<Object>(name);
	}
	
	public ArrayList<Object> getName() {
		return name;
	}
	
	public ArrayList<Object> getValue() {
		return value;
	}
	
	public void setValue(ArrayList<Object> value) {
		
		this.value=new ArrayList<Object>(value);
		
	}
	
	
	
	//new ArrayList(Arrays.asList("",""))
	
	
	
	
	

}
